// @FileName  :test.c
// @Time      :2024/4/4 22:30
// @Author    :YKW
//# include <bits/stdc++.h>
//using namespace std;
# include <stdio.h>
# include <stdlib.h>
# include <math.h>
# include <string.h>
# include <stdlib.h>

int f(
        char* s
)

{

    int   i=0,j=0;

    while (s[j])
        j++
                ;

    for(j--; i<j  && s[i]==s[j]; i++,j--);

    return(
            s[i]==s[j]
    ) ;

}
int main() {
    if(f("asga")) printf("1");
    return 0;
}